// 订单管理
<template>
 <van-pull-refresh v-model="isLoading" @refresh="onRefresh">
    <div>
       
        <div class="top9">
            <van-nav-bar  right-text="完成" left-arrow :fixed='true' @click-left="onClickLeft" :border='false'>
            
            <van-icon name="arrow-left" slot="left" color="black" size="0.4rem" />
            </van-nav-bar>
            <h3>我的地址</h3>
        </div>
        <div class="wwbox9">
        <p class="ef9"><van-icon name="home-o" size=".8rem" /></p>
         <div class="wwboxx9" @click="tap2()">
              <h3>家</h3>
              <p>设置家的地址</p>
              <p>设置联系方式</p>
         </div>
        </div>
        <div class="wwbox9">
        <p class="ef9"><van-icon name="bag" size=".8rem" /></p>
         <div class="wwboxx9" @click="tap3()">
              <h3>公司</h3>
              <p>设置公司的地址</p>
              <p>设置联系方式</p>
         </div>
         
        </div>
        <h4>常用地址</h4>
        
        <div class="wwbox9">
        <p class="et9"><van-icon name="label" size=".8rem" /></p>
         <div class="wwboxx9">
              <h3>中船重工第七一三研究所</h3>
              <p>莲花池东路58号</p>
              <p>15636432459</p>
         </div>
         
        </div>
        <div class="wwbox9">
        <p class="et9"><van-icon name="label" size=".8rem" /></p>
         <div class="wwboxx9">
              <h3>海为科技园C区</h3>
              <p>二七区福华街</p>
              <p>15636432459</p>
         </div>
         
        </div>
    </div>
</van-pull-refresh>
</template>
<script>
    export default{
        data(){
            return{
               isLoading: false,
            
            }
            
        },
        methods:{
            onClickLeft(){
				this.$router.go(-1)
            },
             onRefresh() {
            setTimeout(() => {
                this.$toast('刷新成功');
                this.isLoading = false;
                this.count++;
            }, 500);
            },
            tap2(){
                this.$router.push('/Family')
            },
            tap3(){
                this.$router.push('/Company')
            }
            }
        
    }

</script>


<style>
    *{margin: 0 ;padding:0;}
    .top9{border-bottom:3px solid rgba(99, 96, 96, 0.034);margin-top: 1.2rem}
    .top9 h3{margin-left:-70%}
    .wwbox9{display: flex;border-bottom:1px solid #ccc;margin: 3% 5%;align-items: center;}
    .wwboxx9{margin-left: 5%}
    .wwboxx9 p{color:#ccc;text-align: left;padding-bottom:0.2rem}
    .et9{color: rgb(47, 255, 64)}
    .ef9{color: rgb(52, 23, 216)}
    h4{margin-right: 72%}
</style>